package recite.word.client.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;
import recite.word.client.dto.word.*;
import recite.word.client.vo.word.DayWordIdVO;
import recite.word.client.vo.word.ReciteInfoVO;
import recite.word.client.vo.word.WordInfoVO;
import recite.word.client.vo.word.WordListVO;
import recite.word.mybatis.auto.model.Word;
import recite.word.service.base.common.request.BaseRequest;

/**
 * @program: recite-word-back
 * @description:
 * @author: Mr.lin
 * @create: 2023-01-02 19:44
 **/

public interface IWordService extends IService<Word> {
    IPage<WordListVO> wordList(BaseRequest<WordListDTO> dto);

    void changeCollect(BaseRequest<ChangeCollectDTO> dto);

    WordInfoVO getWordInfo(BaseRequest<WordInfoDTO> dto);

    ReciteInfoVO getReciteInfo(BaseRequest<ReciteInfoDTO> dto);

    DayWordIdVO getDayWordIds();

    void setWordStudy(BaseRequest<WordStudyDTO> dto);

    void setWordWrong(BaseRequest<WordWrongDTO> dto);
}
